/* 浏览器默认样式重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  // font: inherit;
}

html,
body {
  width: 100%;
  height: 100%;
  font-size: 14px;
}

body {
  font-family: 'microsoft yahei', 'PingFang SC', 'Helvetica Neue', Helvetica, arial, STHeiTi, sans-serif;
  background-color: #eff2f7;
}

ul,
ol,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

a:visited {
  color: inherit;
}

/* 定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 */
::-webkit-scrollbar {
  width: 9px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
  border-radius: 8px;
}

::-webkit-scrollbar-track:hover {
  background-color: rgba(0, 0, 0, 0.06);
  box-shadow:
    -2px 0 0 #fff inset,
    1px 0 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

::-webkit-scrollbar-track:active {
  background-color: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow:
    -2px 0 0 #fff inset,
    1px 0 0 #fff inset,
    0 -1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, 0.6);
}
